import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import router from './router'
import 'element-plus/lib/theme-chalk/index.css'
import 'element-plus/packages/theme-chalk/src/base.scss'

createApp(App).use(ElementPlus, { size: 'small', zIndex: 3000 }).use(router).mount('#app')
// createApp(App).mount('#app')
// 如果要使用.scss样式文件，则需要引入base.scss文件

// const app = createApp(App)
// app.component(ElButton.name, ElButton);
// app.component(ElSelect.name, ElSelect);

// /* or
//  * app.use(ElButton)
//  * app.use(ElSelect)
//  */

// app.mount('#app')
